#ifndef EDIT_ACCOUNT_H
#define EDIT_ACCOUNT_H

#include"db_class.h"
#include"account.h"
#include"new_account.h"
#include <QMainWindow>
#include<QListWidgetItem>

namespace Ui {
    class Edit_account;
}

class Edit_account : public QMainWindow
{
    Q_OBJECT

public:
    explicit Edit_account(int pageid,QWidget *parent = 0);
    ~Edit_account();


private:
    Ui::Edit_account *ui;
    db_class db;
    int id;
    QListWidgetItem *item1;
private slots:
    void on_listWidget_itemActivated(QListWidgetItem* item);
    void back();

};

#endif // EDIT_ACCOUNT_H
